package com.xiaoyun;


import java.io.Serializable;
import java.util.List;

public class GogInfoEntity implements Serializable {

    /**
     * buildId : 53975132558190849
     * clientId : 53652320436400298
     * gameId : 1423049311
     * language : English
     * languages : ["en-US"]
     * name : Cyberpunk 2077
     * osBitness : ["64"]
     * playTasks : [{"category":"game","isPrimary":true,"languages":["*"],"name":"Cyberpunk 2077","path":"bin\\x64\\Cyberpunk2077.exe","type":"FileTask"}]
     * rootGameId : 1423049311
     * version : 1
     */

    private String buildId;
    private String clientId;
    private String gameId;
    private String language;
    private List<String> languages;
    private String name;
    private List<String> osBitness;
    private List<PlayTasksDTO> playTasks;
    private String rootGameId;
    private Integer version;

    public String getBuildId() {
        return buildId;
    }

    public void setBuildId(String buildId) {
        this.buildId = buildId;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getGameId() {
        return gameId;
    }

    public void setGameId(String gameId) {
        this.gameId = gameId;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRootGameId() {
        return rootGameId;
    }

    public void setRootGameId(String rootGameId) {
        this.rootGameId = rootGameId;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public List<String> getLanguages() {
        return languages;
    }

    public void setLanguages(List<String> languages) {
        this.languages = languages;
    }

    public List<String> getOsBitness() {
        return osBitness;
    }

    public void setOsBitness(List<String> osBitness) {
        this.osBitness = osBitness;
    }

    public List<PlayTasksDTO> getPlayTasks() {
        return playTasks;
    }

    public void setPlayTasks(List<PlayTasksDTO> playTasks) {
        this.playTasks = playTasks;
    }

    public GogInfoEntity() {
    }

    public GogInfoEntity(String buildId, String clientId, String gameId, String language, String name, String rootGameId, Integer version, List<String> languages, List<String> osBitness, List<PlayTasksDTO> playTasks) {
        this.buildId = buildId;
        this.clientId = clientId;
        this.gameId = gameId;
        this.language = language;
        this.name = name;
        this.rootGameId = rootGameId;
        this.version = version;
        this.languages = languages;
        this.osBitness = osBitness;
        this.playTasks = playTasks;
    }

    class PlayTasksDTO implements Serializable {
        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public Boolean getPrimary() {
            return isPrimary;
        }

        public void setPrimary(Boolean primary) {
            isPrimary = primary;
        }

        public List<String> getLanguages() {
            return languages;
        }

        public void setLanguages(List<String> languages) {
            this.languages = languages;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        /**
         * category : game
         * isPrimary : true
         * languages : ["*"]
         * name : Cyberpunk 2077
         * path : bin\x64\Cyberpunk2077.exe
         * type : FileTask
         */

        private String category;
        private Boolean isPrimary;
        private List<String> languages;
        private String name;
        private String path;
        private String type;

        public PlayTasksDTO() {
        }

        public PlayTasksDTO(String category, Boolean isPrimary, List<String> languages, String name, String path, String type) {
            this.category = category;
            this.isPrimary = isPrimary;
            this.languages = languages;
            this.name = name;
            this.path = path;
            this.type = type;
        }
    }
}
